// 自动生成模板InterviewSearch
package interviewSearch

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
	"time"
)

// interviewSearch表 结构体  InterviewSearch
type InterviewSearch struct {
	global.GVA_MODEL
	Answer         string     `json:"answer" form:"answer" gorm:"column:answer;comment:面试题答案;size:191;"`                         //面试题答案
	CompanyName    string     `json:"companyName" form:"companyName" gorm:"column:company_name;comment:公司名称;size:100;"`          //公司名称
	CreatedAt      *time.Time `json:"createdAt" form:"createdAt" gorm:"column:createdAt;comment:创建时间;"`                          //创建时间
	DeletedAt      *time.Time `json:"deletedAt" form:"deletedAt" gorm:"column:deletedAt;comment:删除时间;"`                          //删除时间
	Examine        *bool      `json:"examine" form:"examine" gorm:"column:examine;comment:0:未知状态;"`                              //0:未知状态
	Founder        string     `json:"founder" form:"founder" gorm:"column:founder;comment:创始人;size:50;"`                         //创始人
	InterviewTitle string     `json:"interviewTitle" form:"interviewTitle" gorm:"column:interview_title;comment:面试题目;size:255;"` //面试题目
	Level1         string     `json:"level1" form:"level1" gorm:"column:level1;comment:一级id;"`                                   //一级id
	Level2         string     `json:"level2" form:"level2" gorm:"column:level2;comment:二级ID;"`                                   //二级ID
	Level3         string     `json:"level3" form:"level3" gorm:"column:level3;comment:三级id;"`                                   //三级id
	Priority       *int       `json:"priority" form:"priority" gorm:"column:priority;comment:;size:19;"`                         //priority字段
	TagContent     string     `json:"tagContent" form:"tagContent" gorm:"column:tag_content;comment:标签内容;size:100;"`             //标签内容
	UpdatedAt      *time.Time `json:"updatedAt" form:"updatedAt" gorm:"column:updatedAt;comment:修改时间;"`                          //修改时间
}

type InterviewSearchRes struct {
	Id             int        `json:"id"`
	Answer         string     `json:"answer" form:"answer" gorm:"column:answer;comment:面试题答案;size:191;"`                          //面试题答案
	CompanyName    string     `json:"company_name" form:"companyName" gorm:"column:company_name;comment:公司名称;size:100;"`          //公司名称
	CreatedAt      *time.Time `json:"created_at" form:"createdAt" gorm:"column:createdAt;comment:创建时间;"`                          //创建时间
	DeletedAt      *time.Time `json:"deletedAt" form:"deletedAt" gorm:"column:deletedAt;comment:删除时间;"`                           //删除时间
	Examine        *bool      `json:"examine" form:"examine" gorm:"column:examine;comment:0:未知状态;"`                               //0:未知状态
	Founder        string     `json:"founder" form:"founder" gorm:"column:founder;comment:创始人;size:50;"`                          //创始人
	InterviewTitle string     `json:"interview_title" form:"interviewTitle" gorm:"column:interview_title;comment:面试题目;size:255;"` //面试题目
	Level1         string     `json:"level1_name" form:"level1" gorm:"column:level1;comment:一级id;"`                               //一级id
	Level2         string     `json:"level2_name" form:"level2" gorm:"column:level2;comment:二级ID;"`                               //二级ID
	Level3         string     `json:"level3_name" form:"level3" gorm:"column:level3;comment:三级id;"`                               //三级id
	Priority       *int       `json:"priority" form:"priority" gorm:"column:priority;comment:;size:19;"`                          //priority字段
	TagContent     string     `json:"tag_content" form:"tagContent" gorm:"column:tag_content;comment:标签内容;size:100;"`             //标签内容
	UpdatedAt      *time.Time `json:"updatedAt" form:"updatedAt" gorm:"column:updatedAt;comment:修改时间;"`                           //修改时间
}

//"founder" : null,
//"id" : 22,
//"company_name" : null,
//"level3_name" : "Redis",
//"priority" : 1,
//"tag_content" : null,
//"level1_name" : "Go",
//"answer" : null,
//"interview_title" : "go 字符串",
//"created_at" : "2023-12-05T01:18:39.000Z",
//"@timestamp" : "2023-12-05T02:21:00.785Z",
//"@version" : "1",
//"level2_name" : "Mysql"

// TableName interviewSearch表 InterviewSearch自定义表名 interview_search
func (InterviewSearch) TableName() string {
	return "interview_search"
}
